<?php /* Smarty version 2.6.18, created on 2016-11-30 13:54:30
         compiled from syllabus/syllabus.info.tpl.php */ ?>
﻿<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
                <div class="box-header with-border">
                    <span class="fa fa-table" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title"><?php echo $this->_tpl_vars['class_data']['grade_name']; ?>
<?php echo $this->_tpl_vars['class_data']['class_name']; ?>
<?php echo $this->_tpl_vars['semester_data']['semester_name']; ?>
课程表</p>
                    <span style="float:right; color:red;">启用日期： <?php echo $this->_tpl_vars['start_time']; ?>
 <?php if ($this->_tpl_vars['is_update'] == '1'): ?> <a href="index.php?a=syllabus.update&class_id=<?php echo $this->_tpl_vars['class_id']; ?>
&semester_id=<?php echo $this->_tpl_vars['semester_id']; ?>
&syllabus_double=<?php echo $this->_tpl_vars['syllabus_double']; ?>
"class="btn btn-success" style="float:right;">修改课程表</a><?php endif; ?></span>
                </div>
                    <div class="box-body">
                        <table class="table table-bordered text-center" id="mytable">					 
								  <tr>
									 <td>节次</td>
									 <?php $_from = $this->_tpl_vars['week_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
									 <td><?php echo $this->_tpl_vars['value']; ?>
</td>
									 <?php endforeach; endif; unset($_from); ?>
								  </tr>
								  <?php $_from = $this->_tpl_vars['out_am']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								  <tr>
										 <td><?php echo $this->_tpl_vars['key']; ?>
</td>
										 <?php $_from = $this->_tpl_vars['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
										 <td>
											 <?php echo $this->_tpl_vars['v']['subject_name']; ?>
<br/><?php echo $this->_tpl_vars['v']['staff_name']; ?>

										 </td>
										 <?php endforeach; endif; unset($_from); ?>
								 </tr>
								 <?php endforeach; endif; unset($_from); ?>

								  <tr>
								        <td></td>
								  </tr>
								  <?php $_from = $this->_tpl_vars['out_pm']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
								  <tr>
										 <td><?php echo $this->_tpl_vars['key']; ?>
</td>
										 <?php $_from = $this->_tpl_vars['value']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
										 <td>
											 <?php echo $this->_tpl_vars['v']['subject_name']; ?>
<br/><?php echo $this->_tpl_vars['v']['staff_name']; ?>

										 </td>
										 <?php endforeach; endif; unset($_from); ?>
								 </tr>
								 <?php endforeach; endif; unset($_from); ?>
                         </table>  
				    </div><!--box-body -->
                    <div class="box-footer">
                         <a href="index.php?a=syllabus.infolist&class_id=<?php echo $this->_tpl_vars['class_id']; ?>
" class="btn btn-success" style="float:right;">查看往期课程表>></a>
                    </div>
             </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
 <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
